home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1993 July / InfoMagic USENET CD-ROM July 1993.ISO / sources / misc / volume15 / dmake-3.6 / part26 < prev    next >
Encoding:
Text File  |  1990-12-16  |  2.5 KB  |  88 lines

  1. Newsgroups: comp.sources.misc
  2. X-UNIX-From: dvadura@watdragon.waterloo.edu
  3. subject: v15i093: dmake version 3.6 patch 1 (part 04/5)
  4. from: Dennis Vadura <dvadura@watdragon.waterloo.edu>
  5. Sender: allbery@uunet.UU.NET (Brandon S. Allbery - comp.sources.misc)
  6.  
  7. Posting-number: Volume 15, Issue 93
  8. Submitted-by: Dennis Vadura <dvadura@watdragon.waterloo.edu>
  9. Archive-name: dmake-3.6/part26
  10.  
  11. #!/bin/sh
  12. # this is part 4 of a multipart archive
  13. # do not concatenate these parts, unpack them in order with /bin/sh
  14. # file dm36.p1 continued
  15. #
  16. CurArch=4
  17. if test ! -r s2_seq_.tmp
  18. then echo "Please unpack part 1 first!"
  19.      exit 1; fi
  20. ( read Scheck
  21.   if test "$Scheck" != $CurArch
  22.   then echo "Please unpack part $Scheck next!"
  23.        exit 1;
  24.   else exit 0; fi
  25. ) < s2_seq_.tmp || exit 1
  26. sed 's/^X//' << 'SHAR_EOF' >> dm36.p1
  27. XX***************
  28. XX*** 34,39 ****
  29. XX--- 34,46 ----
  30. XX   * 
  31. XX  */
  32. XX  
  33. XX+ #if defined (_MSC_VER)
  34. XX+ # if _MSC_VER < 500
  35. XX+     Force a compile-time blowup.
  36. XX+     Do not define define _MSC_VER for MSC compilers ealier than 5.0.
  37. XX+ # endif
  38. XX+ #endif
  39. XX+ 
  40. XX  /* define this for configurations that don't have the coreleft function
  41. XX   * so that the code compiles.  To my knowledge coreleft exists only on
  42. XX   * Turbo C, but it is needed here since the function is used in many debug
  43. XX***************
  44. XX*** 48,57 ****
  45. XX  #   define SIGTERM SIGINT
  46. XX  #endif
  47. XX  
  48. XX! /* Fixes unimplemented line buffering for MSC
  49. XX   * MSC _IOLBF is the same as _IOFBF
  50. XX-  * This redefinition causes the following warning, but ignore it
  51. XX-  * c:/usr/include/stdio.h(129) : warning C4005: '_IOLBF' : macro redefinition
  52. XX   */
  53. XX  #if defined(MSDOS) && defined (_MSC_VER)
  54. XX  #   undef  _IOLBF
  55. XX--- 55,62 ----
  56. XX  #   define SIGTERM SIGINT
  57. XX  #endif
  58. XX  
  59. XX! /* Fixes unimplemented line buffering for MSC 5.x and 6.0.
  60. XX   * MSC _IOLBF is the same as _IOFBF
  61. XX   */
  62. XX  #if defined(MSDOS) && defined (_MSC_VER)
  63. XX  #   undef  _IOLBF
  64. XX***************
  65. XX*** 59,65 ****
  66. XX  #endif
  67. XX  
  68. XX  /* in alloc.h: size_t is redefined
  69. XX!  * defined in stdio.h which is included alloc.h
  70. XX   */
  71. XX  #if defined(MSDOS) && defined (_MSC_VER)
  72. XX  #   define _TYPES_
  73. XX--- 64,70 ----
  74. XX  #endif
  75. XX  
  76. XX  /* in alloc.h: size_t is redefined
  77. XX!  * defined in stdio.h which is included by alloc.h
  78. XX   */
  79. XX  #if defined(MSDOS) && defined (_MSC_VER)
  80. XX  #   define _TYPES_
  81. XX*** /u2/dvadura/src/generic/dmake/src-patchlvl1/msdos/exec.h    Sat Oct  6 12:05:40 1990
  82. XX--- msdos/exec.h    Sun Oct 28 23:16:16 1990
  83. XX***************
  84. XX*** 9,16 ****
  85. XX  #endif
  86. XX  #endif
  87. XX  
  88. XX! extern int  exec ANSI((int, char far *, char far *, unsign